/*
*
* Copyright (c) 2011 Vaulting Systems International
* 
* Permission is hereby granted, free of charge, to any person obtaining a copy 
* of this software and associated documentation files (the "Software"), to deal 
* in the Software without restriction, including without limitation the rights 
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
* of the Software, and to permit persons to whom the Software is furnished to do  
* so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all  
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
* PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE  
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*/
package com.ekeyman.securesavelib.dto;

import java.io.Serializable;

public class EncryptionKeys implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -6656085230276529601L;
	private byte[] keyBytes;
	private int keyBytesLength;
	
	private byte[] ivBytes;
	private int ivBytesLength;
	
	private byte[] saltBytes;
	private int saltBytesLength;
	
	private char[] passwordBytes;
	private int passwordBytesLength;
	
	private int iterationCount;

	public void setKeyBytes(byte[] keyBytes) {
		this.keyBytes = keyBytes;
	}

	public byte[] getKeyBytes() {
		return keyBytes;
	}

	public void setKeyBytesLength(int keyBytesLength) {
		this.keyBytesLength = keyBytesLength;
	}

	public int getKeyBytesLength() {
		return keyBytesLength;
	}

	public void setIvBytes(byte[] ivBytes) {
		this.ivBytes = ivBytes;
	}

	public byte[] getIvBytes() {
		return ivBytes;
	}

	public void setIvBytesLength(int ivBytesLength) {
		this.ivBytesLength = ivBytesLength;
	}

	public int getIvBytesLength() {
		return ivBytesLength;
	}

	public void setSaltBytes(byte[] saltBytes) {
		this.saltBytes = saltBytes;
	}

	public byte[] getSaltBytes() {
		return saltBytes;
	}

	public void setSaltBytesLength(int saltBytesLength) {
		this.saltBytesLength = saltBytesLength;
	}

	public int getSaltBytesLength() {
		return saltBytesLength;
	}

	public void setPasswordBytes(char[] passwordBytes) {
		this.passwordBytes = passwordBytes;
	}

	public char[] getPasswordBytes() {
		return passwordBytes;
	}

	public void setPasswordBytesLength(int passwordBytesLength) {
		this.passwordBytesLength = passwordBytesLength;
	}

	public int getPasswordBytesLength() {
		return passwordBytesLength;
	}

	public void setIterationCount(int iterationCount) {
		this.iterationCount = iterationCount;
	}

	public int getIterationCount() {
		return iterationCount;
	}
	
}
